<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<div class="table-responsive">
<table class="cntable table table-bordered dataTable table-withdrawApplyfor">
	<thead>
		<tr>
			<th style="width:50px">序号</th>
			<th style="width:130px">会员号</th>
			<th style="width:130px">账户号</th>
			<th style="width:100px">申请人姓名</th>
			<th style="width:100px">申请状态</th>
			<th style="width:130px">申请时间</th>
			<th style="width:80px">申请单号</th>			
			<th style="width:130px">提现金额</th>
			<th style="width:100px">处理人</th>
			<th style="width:130px">处理状态</th>
			<th style="width:130px">处理时间</th>
			<th style="width:130px">是否审批</th>
			<th style="width:300px">备注</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach var="withdrawApplyfor" items="${withdrawApplyfors}" varStatus="status">
			<tr data-id="${withdrawApplyfor.id}">
				<td>${status.index+1}</td>
				<td>${withdrawApplyfor.account}</td>
				<td>${withdrawApplyfor.accountNo}</td>
				<td>${withdrawApplyfor.name}</td>
				<td>
				    <t:provider packageName="acc" enumClassName="ApplyforType" value="${withdrawApplyfor.state}"/> 		
				<td>
				   <fmt:formatDate value="${withdrawApplyfor.createDate}" type="date" dateStyle="default" pattern="yyyy-MM-dd HH:mm:ss"/>  
				</td>
				<td>${withdrawApplyfor.orderNum}</td>
				<td>
					<fmt:formatNumber value="${withdrawApplyfor.goldBeanNum}" pattern="#.##" minFractionDigits="2" />
				</td>
				<td>${withdrawApplyfor.trackName}</td>
				<td>
			        <t:provider packageName="acc" enumClassName="TrackType" value="${withdrawApplyfor.trackState}"/> 
				</td>
				<td>
				     <fmt:formatDate value="${withdrawApplyfor.trackDate}" type="date" dateStyle="default" pattern="yyyy-MM-dd HH:mm:ss"/>  	
				</td>
				<td>
				<c:if test="${withdrawApplyfor.state eq 'applyWithdraw'}">
				     <ul class="icons-list">
							<li><a href="javascript:onConfirm('${withdrawApplyfor.id}')" title="点击确认"><i class="icon-checkmark-circle2 text-primary"></i></a></li>
					 </ul>
			    </c:if>
				</td>
				<td>${withdrawApplyfor.comments}</td>
			</tr>
		</c:forEach>
	</tbody>
	<tfoot>
		<tr>
			<th class="pager-th absolute-pos">
				<%@ include file="/WEB-INF/views/shared/master/pager.jsp"%>
			</th>
		</tr>
	</tfoot>
</table>
</div>

